﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.EquipmentManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.EquipmentManagement.EquipmentSpotMasterVMs
{
    public partial class EquipmentSpotMasterBatchVM : BaseBatchVM<EquipmentSpotMaster, EquipmentSpotMaster_BatchEdit>
    {
        public EquipmentSpotMasterBatchVM()
        {
            ListVM = new EquipmentSpotMasterListVM();
            LinkedVM = new EquipmentSpotMaster_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class EquipmentSpotMaster_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._EquipmentSpotMaster._Equipment")]
        public Guid? EquipmentId { get; set; }
        [Display(Name = "_Model._EquipmentSpotMaster._LineId")]
        public long? LineId { get; set; }
        [Display(Name = "_Model._EquipmentSpotMaster._LineCode")]
        public string LineCode { get; set; }
        [Display(Name = "_Model._EquipmentSpotMaster._MasterBarcode")]
        public string MasterBarcode { get; set; }
        [Display(Name = "_Model._EquipmentSpotMaster._SpotType")]
        public SpotTypeEnum? SpotType { get; set; }
        [Display(Name = "_Model._EquipmentSpotMaster._OpId")]
        public long? OpId { get; set; }
        [Display(Name = "_Model._EquipmentSpotMaster._OpCode")]
        public string OpCode { get; set; }
        [Display(Name = "_Model._EquipmentSpotMaster._Active")]
        public bool? Active { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}